<template>
    <div>
        <CommonData title="累计销售额" :total="salesToday">
            <template v-slot:chart>
                <p>
                    <span>日同比&nbsp;&nbsp;</span>
                    <span>{{salesGrowthLastDay}}&nbsp;&nbsp;</span>
                    <span class="triangle"></span>
                </p>
                <p>
                    <span>月同比&nbsp;&nbsp;</span>
                    <span>{{salesGrowthLastMonth}}&nbsp;&nbsp;</span>
                    <span class="triangle"></span>
                </p>
            </template>
            <template>
                <span>昨日销售额</span>
                <span><b>&nbsp;&nbsp;{{salesLastDay}}</b></span>
            </template>
        </CommonData>
    </div>
</template>

<script>
import topMixin from '@/mixin/topView'
import reportData from '@/mixin/reportData';
export default {
    mixins: [topMixin,reportData]
}
</script>

<style lang="scss" scoped>

</style>